public class Student {
    private String name; 
    private int id; 
    private String className; 
    private static int count = 0; 

    public Student() {
        this("", 0, ""); 
    }


    public Student(String name, int id, String className) {
        this.name = name;
        this.id = id;
        this.className = className;
        count++; 
    }

    
    public void printInfo() {
        System.out.println(this.name + ", " + this.id + ", " + this.className);
    }

 
    public static int getCount() {
        return count;
    }

    
    public static void main(String[] args) {
        Student s1 = new Student("s1", 17101, "171");
        Student s2 = new Student("s2", 17102, "171");

        s1.printInfo();
        s2.printInfo();
        System.out.println("count=" + Student.getCount());
    }
}